package day3;

import java.util.Scanner;

public class 简写单词 {
	public static void main(String[] args) {
		//答案写法
		Scanner in=new Scanner(System.in);
		while(in.hasNext()) {
			char ch=in.next().charAt(0);
			if(ch>='a'&&ch<='z') {
				//直接强转实现大小写转换
				System.out.println((char)(ch-32));
			}
			else {
				System.out.println(ch);
			}
		}
	}
	
	
	public static void main1(String[] args) {
		Scanner in = new Scanner(System.in);
		// 注意 hasNext 和 hasNextLine 的区别
		while (in.hasNext()) { // 注意 while 处理多个 case
			String s=in.nextLine();
			StringBuilder ret=new StringBuilder();
			String[] str=s.split(" ");
			for(int i=0;i<str.length;i++){
				char c=str[i].charAt(0);
				if(c>='a'&&c<='z'){
					c=Character.toUpperCase(c);
				}
				ret.append(c);
			}
			System.out.println(ret.toString());
		}
	}
}
